package com.amon.amonplayer.watchdog;

import android.view.Choreographer;

public class ChoreographerMonitor {
    private int nowTime = 1;
    private int sm = 1;
    private int smResult = 1;

    public void start() {
        Choreographer.getInstance().postFrameCallback(new Choreographer.FrameCallback() {
            @Override
            public void doFrame(long frameTimeNanos) {
//                Log.i("TAG", "frameTimeNanos:" + frameTimeNanos);
                Choreographer.getInstance().postFrameCallback(this);
            }
        });
    }
}
